<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="hmg.vo.BoardVO"%>
<%@ page import="java.util.List"%>
<%-- 
    JSP Name : jspName.jsp
    Description : 설명을 기술합니다.
    author Kim hyung soo
    since 2012. 9. 18.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 9. 18.     Kim hyung soo     최초 생성
--%>
<%
    List<BoardVO> actList = (List<BoardVO>) request.getAttribute("ActList");

    if (actList == null || actList.size() == 0)
        out.println("                                <dl style=\"text-align:center;\">검색된 게시물이 없습니다.</dl>");
    else {
        for (int idx = 0; idx < actList.size(); idx++) {
            BoardVO act = actList.get(idx);

            if (idx + 1 < actList.size())
                out.println("                                <dl>");
            else
                out.println("                                <dl class=\"last\">");
%>
                                    <dt><%= act.getCompName() %><span class="date"><%= act.getRegDate() %></span><br />
                                    <a href="/hmg/web/kor/cbt/act/nws/ActivityView.do?listID=<%= act.getListID() %>&listType=0&compType=0"><span class="title" style="width:480px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;"><%= act.getTitle() %></span></a></dt>
                                    <dd class="text"><a href="/hmg/web/kor/cbt/act/nws/ActivityView.do?listID=<%= act.getListID() %>&listType=0&compType=0"><%= act.getWebContent() %></a></dd>
                                    <dd class="img"><a href="/hmg/web/kor/cbt/act/nws/ActivityView.do?listID=<%= act.getListID() %>&listType=0&compType=0"><img src="<%= act.getThumbnailImage() %>" width="134" height="81" border="0" alt="list" /></a></dd>
                                </dl>
<%
        }
    }
%>